﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YXShop.IDAL.SystemInfo;
namespace YXShop.DALFactory
{
    public sealed partial class DataAccess
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IWebSetting CreateWebSetting()
        {
            return (IWebSetting)CreateObject("SystemInfo.WebSetting");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IShopSetting CreateShopSetting()
        {
            return (IShopSetting)CreateObject("SystemInfo.ShopSetting");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.ICustomerSetting CreateCustomerSetting()
        {
            return (ICustomerSetting)CreateObject("SystemInfo.CustomerSetting");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IMailSetting CreateMailSetting()
        {
            return (IMailSetting)CreateObject("SystemInfo.MailSetting");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IThumbnailsSetting CreateThumbnailsSetting()
        {
            return (IThumbnailsSetting)CreateObject("SystemInfo.ThumbnailsSetting");
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IProvinces CreateProvinces()
        {
            return (IProvinces)CreateObject("SystemInfo.Provinces");
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IMouldType CreateMouldType()
        {
            return (IMouldType)CreateObject("SystemInfo.MouldType");
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IMouldInfo CreateMouldInfo()
        {
            return (IMouldInfo)CreateObject("SystemInfo.MouldInfo");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IArticleChannel CreateArticleChannel()
        {
            return (IArticleChannel)CreateObject("SystemInfo.ArticleChannel");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IArticle CreateArticle()
        {
            return (IArticle)CreateObject("SystemInfo.Article");
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.ITerraceManage CreateTerrace()
        {
            return (ITerraceManage)CreateObject("SystemInfo.TerraceManage");
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        /// 
        public static YXShop.IDAL.SystemInfo.IBankAccount CreateBankAccount()
        {
            return (IBankAccount)CreateObject("SystemInfo.BankAccount");
        }

        /// <summary>
        /// 银行信息
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IBankInfo CreateBankInfo()
        {
            return (IBankInfo)CreateObject("SystemInfo.BankInfo");
        }

        /// <summary>
        /// 升级数据库
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IUpgradeDataBase CreateUpgradeDataBase()
        {
            return (IUpgradeDataBase)CreateObject("SystemInfo.UpgradeDataBase");
        }

        /// <summary>
        /// 模板切换
        /// </summary>
        /// <returns></returns>
        public static YXShop.IDAL.SystemInfo.IShopStyle CreateShopStyle()
        {
            return (IShopStyle)CreateObject("SystemInfo.ShopStyle");
        }

        /// <summary>
        /// 送货方式
        /// </summary>
        /// <returns></returns>
        public static IDeliver CreateDeliverWay()
        {
            return (IDeliver)CreateObject("SystemInfo.Deliver");
        }
        /// <summary>
        /// 短信
        /// </summary>
        /// <returns></returns>
        public static ISMS CreateSMS()
        {
            return (ISMS)CreateObject("SystemInfo.SMS");
        }
      
    }
}
